package com.sven.idrivingfutureserver.service;

import com.sven.idrivingfutureserver.common.Response;
import com.sven.idrivingfutureserver.pojo.SettingDetail;
import com.sven.idrivingfutureserver.pojo.UserInfo;

/**
 * @ClassName LoginService
 * @Description
 * @Author xiaozhang
 * @Date 2024/5/29 11:01
 * @Version 1.0
 **/
public interface LoginService {

    Response generateQrcodeList(Integer num, String pwd);

    Response wechatLogin(String code);

    Response postUserInfo(UserInfo userInfo);

    Response isQrCodeBinging(String qrcode);

    Response bindPhoneNumber(String code, String qrcode);

    Response getMySettingInfo(String qrcode);

    Response updateMySettingInfo(SettingDetail settingDetail);

    Response getUserInfoByPlateNumber(String plateNumber);

    Response unBindQrCode(String qrcode);

    Response bindQrCode(String qrcode, Integer plateNumberId);

    Response changePhoneNumber(String code, Integer phoneNumberId);

    Response getUserInfoByQrCode(String qrcode);

    Response getPrivacyNumber(String qrcode);

    Response sendSmsToMoveCar(String qrcode, String plateNumber);

    Response getScanRecords();

    Response getMyQrCodes();

    Response changePlateNumber(String plateNumber, String qrcode);
}
